package com.kindel.mapper.weixin;

import com.common.model.view.wechat.applet.WechatAppletUserInfo;
import org.apache.ibatis.annotations.Mapper;

/**
 * Created by demongao on 2017/9/13.
 */
@Mapper
public interface WeiXinMapper {

    // 保存用户微信信息
    int saveWeiXinUserInfo(WechatAppletUserInfo wechatAppletUserInfo);

    //根据 openId 查询用户是否存在
    int loadWeiXinUserInfoCountByOpenId(String openId);

    //更新用户信息
    void updateWeiXinUserInfo(WechatAppletUserInfo wechatAppletUserInfo);
}
